/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upf.grupE;

import edu.upf.grupE.Entities.Video;

/**
 *
 * @author xday666
 */
public class videoContent implements Content {
    /**
     * General parameters of videoContent.
     * @param video Video video
     */
    private Video video;

    /**
     * This method returns a private Object.
     * @return video video devuelto
     */
    @Override
    public final Object getData() {
        return video;
    }
    /**
     * This method saves an object on a Video object.
     * @param data objeto data
     */
    @Override
    public final void setData(final Object data) {
        //Comprovar instanceOf
        video = (Video) data;
    }

}
